package com.rupertjones.globalcron.common.messaging;

import com.rupertjones.globalcron.common.domain.MessageType;

import java.io.Serializable;

/**
 * <p>&copy Rupert Jones 2013</p>
 *
 * @author rup
 */
public class ConfigurationRequest implements Message, Serializable {

    private String hostname;

    public ConfigurationRequest(String hostname) {
        this.hostname = hostname;
    }

    @Override
    public MessageType getType() {
        return MessageType.CONFIG_REQUEST;
    }

    public String getHostname() {
        return hostname;
    }
}
